package com.welse.modulebiz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.welse.modulebiz.domain.entity.Member;
import com.welse.modulebiz.service.MemberService;
import com.welse.modulebiz.mapper.MemberMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 54036
* @description 针对表【member(用户基础信息表)】的数据库操作Service实现
* @createDate 2025-08-12 20:08:18
*/
@Service
public class MemberServiceImpl extends ServiceImpl<MemberMapper, Member>
    implements MemberService{

    @Autowired
    private MemberMapper memberMapper;

    @Override
    public Member findByUserid(String userid) {
        return memberMapper.findByUserid(userid);
    }

    @Override
    public void register(Member member) {
        memberMapper.register(member);
    }

    @Override
    public Member findByEmail(String email) {
        return memberMapper.findByEmail(email);
    }
}




